import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import Router from './router/index'
import ElementPlus from 'element-plus'
//404页面样式
import 'element-plus/dist/index.css'
import './assets/loading.css'

createApp(App).use(Router).use(ElementPlus).mount('#app')



// NProgress.configure({ showSpinner: false })   // 显示右上角螺旋加载提示

// router.beforeEach((to, from, next) => { 
//     NProgress.start()   // 开启进度条
//     // some code ...
//     NProgress.done()   // 关闭进度条
// })
